Optimal. Leaf size=59 \[ -\frac{x \sqrt{a^2 x^2+1} \sinh ^{-1}(a x)}{2 a}+\frac{\sinh ^{-1}(a x)^2}{4 a^2}+\frac{1}{2} x^2 \sinh ^{-1}(a x)^2+\frac{x^2}{4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0918002, antiderivative size = 59, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {5661, 5758, 5675, 30} \[ -\frac{x \sqrt{a^2 x^2+1} \sinh ^{-1}(a x)}{2 a}+\frac{\sinh ^{-1}(a x)^2}{4 a^2}+\frac{1}{2} x^2 \sinh ^{-1}(a x)^2+\frac{x^2}{4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5661
Rule 5758
Rule 5675
Rule 30
Rubi steps
\begin{align*} \int x \sinh ^{-1}(a x)^2 \, dx &=\frac{1}{2} x^2 \sinh ^{-1}(a x)^2-a \int \frac{x^2 \sinh ^{-1}(a x)}{\sqrt{1+a^2 x^2}} \, dx\\ &=-\frac{x \sqrt{1+a^2 x^2} \sinh ^{-1}(a x)}{2 a}+\frac{1}{2} x^2 \sinh ^{-1}(a x)^2+\frac{\int x \, dx}{2}+\frac{\int \frac{\sinh ^{-1}(a x)}{\sqrt{1+a^2 x^2}} \, dx}{2 a}\\ &=\frac{x^2}{4}-\frac{x \sqrt{1+a^2 x^2} \sinh ^{-1}(a x)}{2 a}+\frac{\sinh ^{-1}(a x)^2}{4 a^2}+\frac{1}{2} x^2 \sinh ^{-1}(a x)^2\\ \end{align*}
Mathematica [A] time = 0.0282382, size = 53, normalized size = 0.9 \[ \frac{a^2 x^2-2 a x \sqrt{a^2 x^2+1} \sinh ^{-1}(a x)+\left (2 a^2 x^2+1\right ) \sinh ^{-1}(a x)^2}{4 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.026, size = 59, normalized size = 1. \begin{align*}{\frac{1}{{a}^{2}} \left ({\frac{ \left ({\it Arcsinh} \left ( ax \right ) \right ) ^{2} \left ({a}^{2}{x}^{2}+1 \right ) }{2}}-{\frac{{\it Arcsinh} \left ( ax \right ) ax}{2}\sqrt{{a}^{2}{x}^{2}+1}}-{\frac{ \left ({\it Arcsinh} \left ( ax \right ) \right ) ^{2}}{4}}+{\frac{{a}^{2}{x}^{2}}{4}}+{\frac{1}{4}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.12721, size = 135, normalized size = 2.29 \begin{align*} \frac{1}{2} \, x^{2} \operatorname{arsinh}\left (a x\right )^{2} + \frac{1}{4} \, a^{2}{\left (\frac{x^{2}}{a^{2}} - \frac{\log \left (\frac{a^{2} x}{\sqrt{a^{2}}} + \sqrt{a^{2} x^{2} + 1}\right )^{2}}{a^{4}}\right )} - \frac{1}{2} \, a{\left (\frac{\sqrt{a^{2} x^{2} + 1} x}{a^{2}} - \frac{\operatorname{arsinh}\left (\frac{a^{2} x}{\sqrt{a^{2}}}\right )}{\sqrt{a^{2}} a^{2}}\right )} \operatorname{arsinh}\left (a x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.00562, size = 166, normalized size = 2.81 \begin{align*} \frac{a^{2} x^{2} - 2 \, \sqrt{a^{2} x^{2} + 1} a x \log \left (a x + \sqrt{a^{2} x^{2} + 1}\right ) +{\left (2 \, a^{2} x^{2} + 1\right )} \log \left (a x + \sqrt{a^{2} x^{2} + 1}\right )^{2}}{4 \, a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.541131, size = 51, normalized size = 0.86 \begin{align*} \begin{cases} \frac{x^{2} \operatorname{asinh}^{2}{\left (a x \right )}}{2} + \frac{x^{2}}{4} - \frac{x \sqrt{a^{2} x^{2} + 1} \operatorname{asinh}{\left (a x \right )}}{2 a} + \frac{\operatorname{asinh}^{2}{\left (a x \right )}}{4 a^{2}} & \text{for}\: a \neq 0 \\0 & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \operatorname{arsinh}\left (a x\right )^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]